package com.ruoyi.user.service.impl;

import com.ruoyi.user.domain.CarType;
import com.ruoyi.user.mapper.CarTypeMapper;
import com.ruoyi.user.service.CarTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CarTypeServiceImpl implements CarTypeService {
    @Autowired
    private CarTypeMapper carTypeMapper;

    @Override
    public List<CarType> selectCarTypeList(CarType carType) {
        return carTypeMapper.selectCarTypeList(carType);
    }

    @Override
    public CarType getCarTypeById(Long id) {
        return carTypeMapper.getCarTypeById(id);
    }
}
